<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script src="../node_modules/jquery/dist/jquery.js"></script>
    <script>
        //原生JavaScript固定语法
        window.onload = function(ev){}

        //jQuery固定写法
        $(document).ready(function () {
            alert("hello word")
        })
        //jQuery还可以这样写

        $(function () {
            alert("hello word")
        });
        //还能这样
        jQuery(function () {
            alert("hello word")
        });
    </script>

</head>
<body>

</body>
</html>